package com.lxmes.sales.service;

import java.util.List;
import com.lxmes.sales.domain.NcContractCreationApproval;

/**
 * 合同创建与审批Service接口
 * 
 * @author lx
 * @date 2023-06-06
 */
public interface INcContractCreationApprovalService 
{
    /**
     * 查询合同创建与审批
     * 
     * @param id 合同创建与审批主键
     * @return 合同创建与审批
     */
    public NcContractCreationApproval selectNcContractCreationApprovalById(Long id);

    /**
     * 查询合同创建与审批列表
     * 
     * @param ncContractCreationApproval 合同创建与审批
     * @return 合同创建与审批集合
     */
    public List<NcContractCreationApproval> selectNcContractCreationApprovalList(NcContractCreationApproval ncContractCreationApproval);

    /**
     * 新增合同创建与审批
     * 
     * @param ncContractCreationApproval 合同创建与审批
     * @return 结果
     */
    public int insertNcContractCreationApproval(NcContractCreationApproval ncContractCreationApproval);

    /**
     * 修改合同创建与审批
     * 
     * @param ncContractCreationApproval 合同创建与审批
     * @return 结果
     */
    public int updateNcContractCreationApproval(NcContractCreationApproval ncContractCreationApproval);

    /**
     * 批量删除合同创建与审批
     * 
     * @param ids 需要删除的合同创建与审批主键集合
     * @return 结果
     */
    public int deleteNcContractCreationApprovalByIds(Long[] ids);

    /**
     * 删除合同创建与审批信息
     * 
     * @param id 合同创建与审批主键
     * @return 结果
     */
    public int deleteNcContractCreationApprovalById(Long id);
    /**
     * 导入合同创建与审批信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcContractCreationApproval> ncContractCreationApprovalList, boolean updateSupport, String operName);
}
